package com.stedu.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 专业表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class College {
    /**
     * 主键
     */
    private Integer zid;

    /**
     * 哪个院
     */
    @NotBlank(message = "院系名称不能为空")
    private String faculty;

    /**
     * 哪个专业
     */
    @NotBlank(message = "专业名称不能为空")
    private String professional ;
}